﻿using UnityEngine;

namespace GameFrameWork
{
    public interface IUIReuseItemCtrl
    {
        int index { get; set; }
        IUserDataGettable userDataGetter { get; set; }
        bool isSelected { get; set; }
        IResModule resModule { get; set; }
        RectTransform rectTransform { get; set; }
        void Enable();
        void Disable();
        void Refresh();
    }

    public interface IUIReuseItemBinder
    {
        void Binding(IUIGetter getter);
    }

    public interface IUserDataGettable
    {
        object userData { get; }
    }
}
